package com.general.campus.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName JspServlet
 * @Desc: JspServlet
 * @Author wangxuan
 * @Date: 2021/7/6 16:53
 * @Verson: 1.0
 **/
public class JspServlet extends HttpServlet {


    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        response.sendRedirect("/servlet-web/index.jsp");
    }
}
